<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--
    水平对齐~参照物  a,b
    -->
    <style>
        img, span{
            vertical-align: middle;
        }
        /*超链接去除下划线*/
        a{
            text-decoration: none;
        }
    </style>

</head>
<body>

<a href="">text href</a>

<p>
    <img src="images/a.png" alt="">
    <span>sdfafaafadfafsfafvvvwewe</span>
</p>

</body>
</html>